package com.dianping.cat.configuration.server.filter.entity;

import com.dianping.cat.configuration.server.filter.BaseEntity;
import com.dianping.cat.configuration.server.filter.IVisitor;





public class CrashLogDomain
  extends BaseEntity<CrashLogDomain>
{
  private String m_id;
  private String m_title;

  public CrashLogDomain() {}

/* 18 */   public CrashLogDomain(String id) { this.m_id = id; }




/* 23 */   public void accept(IVisitor visitor) { visitor.visitCrashLogDomain(this); }



  public boolean equals(Object obj) {
/* 28 */     if (obj instanceof CrashLogDomain) {
/* 29 */       CrashLogDomain _o = (CrashLogDomain)obj;

/* 31 */       if (!equals(getId(), _o.getId())) {
/* 32 */         return false;
      }

/* 35 */       return true;
    }

/* 38 */     return false;
  }


/* 42 */   public String getId() { return this.m_id; }



/* 46 */   public String getTitle() { return this.m_title; }






  public void mergeAttributes(CrashLogDomain other) {
/* 60 */     assertAttributeEquals(other, "crash-log-domain", "id", this.m_id, other.getId());

/* 62 */     if (other.getTitle() != null) {
/* 63 */       this.m_title = other.getTitle();
    }
  }

  public CrashLogDomain setId(String id) {
/* 68 */     this.m_id = id;
/* 69 */     return this;
  }

  public CrashLogDomain setTitle(String title) {
/* 73 */     this.m_title = title;
/* 74 */     return this;
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/lib/cat-core-3.0.0.jar!/com/dianping/cat/configuration/server/filter/entity/CrashLogDomain.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */